body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

#root{
  height: 100%;
}

/*  全局样式 begin */

.ant-layout{
  width: 100%;

  .ant-layout-sider{
    //position: fixed;
    //top: 64px;
    //height: 100vh;
    z-index: 1;
  }
}

.ant-layout.ant-layout-has-sider > .ant-layout{
  //margin-left: 230px;
  transition: all 0.2s;
}

@media screen and (max-width: 991px) {
  //.ant-layout.ant-layout-has-sider > .ant-layout {
  //  margin-left: 0;
  //}
  .ant-layout.ant-layout-has-sider > .ant-layout-sider {
    position: fixed;
    height: 100%;
  }
}

.ant-btn + .ant-btn{
  margin-left: $btnMargin;
}

.ant-btn.grey-button{
  color: #666;
}

.iconfont{
  margin: 0 auto;
}

// ant-table样式
#root .ant-table {
  &.ant-table-bordered > .ant-table-container {
    border-color: #ddd;
    & > .ant-table-content > table > thead > tr > th, & > .ant-table-header > table > thead > tr > th, & > .ant-table-body > table > thead > tr > th, & > .ant-table-content > table > tbody > tr > td, & > .ant-table-header > table > tbody > tr > td, & > .ant-table-body > table > tbody > tr > td, & > .ant-table-content > table > tfoot > tr > th, & > .ant-table-header > table > tfoot > tr > th, & > .ant-table-body > table > tfoot > tr > th, & > .ant-table-content > table > tfoot > tr > td, & > .ant-table-header > table > tfoot > tr > td, & > .ant-table-body > table > tfoot > tr > td {
      border-color: #ddd;
    }
  }
  .ant-table-thead > tr > th {
    background: #f3f3f3;
  }
  .ant-table-tbody > tr > td {
    border-color: #ddd;
  }

  .row-folder {
    background: #fafafa;
    &:hover {
      & > td {
        background: #fafafa;
      }
    }
    .ant-table-cell-fix-left, .ant-table-cell-fix-right {
      background: #fafafa;
    }
  }
  
}

.bdh-link {
  color: $green;
  cursor: pointer;
}

/* 全局样式 end*/
